electromotive force and internal resistance